package Objetos;

import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
import java.io.*;
import java.util.*;

public class Almacen {
	//declaracion de variables
	private int codProd,codProvee,stockProd;

	public Almacen(int cprod,int cprove,int stock) {
	codProd=cprod;
	codProvee=cprove;
	stockProd=stock;
	}
	public int getCodProd(){	return codProd;	}
	public int getCodProve(){	return codProvee;	}
	public int getStock(){	return stockProd;	}
	public void aumentaCantidad(int x){	stockProd+=x;	}
	public void disminuirCantidad(int x){	stockProd-=x;	}

	
}
